/**
 * 用户路由
 */
export interface UserRoute {
    identity: string;
    parent: string;
    authority: string;
    name: string;
    icon: string;
    path: string;
    component: string;
    type: number;
    sort: number;
    visible: number;
    children?: Array<UserRoute>;
}

/**
 * 用户信息
 */
export interface UserInfo {
    userId: string;
    deptId: string;
    username: string;
    nickname: string;
    mobile: string;
    status: string;
}

/**
 * 登录信息
 */
export interface LoginInfo {
    userInfo: Partial<UserInfo>
    roleList: Array<string>
    routeList: Array<UserRoute>
    permissionList: Array<string>
}
